CREATE TABLE LOGIN_DATE
(
	[login] [VARCHAR](50),
	[time] [DATETIME]
);	

IF OBJECT_ID ('logdate','TR') IS NOT NULL
   DROP TRIGGER place_delete;
GO
CREATE TRIGGER logdate ON 
ALL SERVER
AFTER LOGON AS
	INSERT INTO lab3.dbo.LOGIN_DATE VALUES(ORIGINAL_LOGIN(), GETDATE())

SELECT * FROM LOGIN_DATE